Skip to content

Conversation

@relrod
Copy link
Contributor

@relrod relrod commented Aug 1, 2013

More work on HTML5 validation. Still some to go. Will keep working on this in my spare time.

https://gist.github.com/CodeBlock/6127856

relrod added 6 commits July 31, 2013 19:41
- Jekyll was optimizing <span class="current-year"></span> to
  <span class="current-year" /> which is invalid.
- Because it was invalid, browsers (and the validator) were treating it
  as a <span> start tag. Because of this, when the text of the span was
  set via javascript, some of the copyright info was being lost.

So instead of
"Copyright (c) 2002-2013 EPFL, Lausanne, unless otherwise specified. \
All rights reserved."

We were seeing just:

"Copyright (c) 2002-2013"
@sjrd
Copy link
Member

sjrd commented Aug 1, 2013

LGTM!

Amazing, that tool :)
Merged as 95bc365 and parents, with the three commits about the tool squashed as one.

@sjrd sjrd closed this Aug 1, 2013
@relrod
Copy link
Contributor Author

relrod commented Aug 1, 2013

Thanks for being so open to patches, :)

Will keep working on this as time permits.

@heathermiller
Copy link
Member

Oh man, thanks a lot for helping us out on this. We really appreciate it :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants